/// # 重新导出 

pub use self::kinds::PrimaryColor;
pub use self::kinds::SecondaryColor;
pub use self::utils::mix;

pub mod kinds {
    pub enum PrimaryColor {
        Red,
        Yellow,
        Blue,
    }
    #[derive(Debug)]
    pub enum SecondaryColor {
        Orange,
        Green,
        Purple,
    }
}

pub mod utils {
    use crate::kinds;

    pub fn mix(color1: kinds::PrimaryColor, color2: kinds::PrimaryColor) -> kinds::SecondaryColor {
        kinds::SecondaryColor::Green
    }
}
